import { http } from "@/utils/http";

export function loginSystem(param?: string) {
  return http.request({
    url: "/api/blade-auth/oauth/token?token?_allow_anonymous=true&" + param,
    method: "post",
    headers: {
      Authorization: "Basic c3dvcmQ6c3dvcmRfc2VjcmV0",
      "Tenant-Id": "000000"
    }
  });
}

export function Dictionary(param: any) {
  return http.request({
    url: '/api/blade-system/dict-biz/dictionary',
    method: 'get',
    params: param,
  })
}
